|
LCC ("Local C Compiler" or "Little C Compiler") is a small, retargetable compiler for the ANSI C programming language. Although its source code is available at no charge for personal use, it is not open source or free software according to the usual definitions because products derived from LCC may not be sold.〔(【引用サイトリンク】url=https://github.com/drh/lcc/blob/master/CPYRIGHT )〕 It was developed by Chris Fraser and David Hanson. ==LCC== LCC is intended to be simple to understand and is well-documented; its design is described in Fraser and Hanson's book ''A Retargetable C Compiler: Design and Implementation''. The book includes most of the source code for version 3.6 of the compiler, which was written as a literate program using noweb. As of July 2011 the current version of LCC is 4.2, but much of the book still applies to this version. The major change since the book was published is in the code-generator interface, which is described in a separate document. The source code for LCC is around 20,000 lines, which is much smaller than many major compilers.〔 Sao-Jie Chen, Guang-Huei Lin, Pao-Ann Hsiung, Yu-Hen Hu. "Hardware software co-design of a multimedia SOC platform". Section 5.6.1: LCC Compiler Infrastructure. () 〕 The Tiny C Compiler is one of the few compilers smaller than LCC. LCC can generate code for several processor architectures, including Alpha, SPARC, MIPS, and x86; there is also an LCC backend that generates Microsoft's Common Intermediate Language. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「LCC (compiler)」の詳細全文を読む スポンサード リンク
|